@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  background-color: #2c3e50;
}

.kinetic {
  position: relative;
  width: 80px;
  height: 80px;
}

.kinetic::before,
.kinetic::after {
  content: '';
  width: 0;
  height: 0;
  border: 50px solid transparent;
  border-bottom-color: pink;
  position: absolute;
  top: 0;
  left: 0;
}

.kinetic::after {
  border: 50px solid transparent;
  border-top-color: pink;
  animation: rotateA 2s linear infinite;
  -webkit-animation: rotateA 2s linear infinite;
}
.kinetic::before{
  animation: rotateA 2s linear infinite ;
  -webkit-animation: rotateA 2s linear infinite ;
  animation-delay: .25s;
}

@keyframes rotateA {
  0% {
    transform: rotateZ(0);
    -webkit-transform: rotateZ(0);
    -moz-transform: rotateZ(0);
    -ms-transform: rotateZ(0);
    -o-transform: rotateZ(0);
  }

  25% {
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    -moz-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
    -o-transform: rotateZ(180deg);
  }

  50% {
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    -moz-transform: rotateZ(180deg);
    -ms-transform: rotateZ(180deg);
    -o-transform: rotateZ(180deg);
  }

  75% {
    transform: rotateZ(360deg);
    -webkit-transform: rotateZ(360deg);
    -moz-transform: rotateZ(360deg);
    -ms-transform: rotateZ(360deg);
    -o-transform: rotateZ(360deg);
  }

  100% {
    transform: rotateZ(360deg);
    -webkit-transform: rotateZ(360deg);
    -moz-transform: rotateZ(360deg);
    -ms-transform: rotateZ(360deg);
    -o-transform: rotateZ(360deg);
  }
}